.box{
    padding-top: 45px;
    margin: 0px 15px;
}

doctorbox {
    margin-top: 15px;
}

.hotdoctor {
    font-weight: bold;
    color: #b5b5b5;
}

.doctorlist {
    margin: 15px 0px;
    display: flex;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctorlist:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.jiasao {
    margin-left: 15px;
    display: grid;
    grid-template-rows: auto auto auto;
    row-gap: 4px;
}

.name {
    font-size: 17px;
    font-weight: bold;
    margin: 0;
}

.yiyuan {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.shanchang {
    font-size: 14px;
    color: #a1a1a1;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.filterBar {
    display: grid;
    grid-template-columns: 6fr 1fr;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px; /* 减小整体内边距 */
    background-color: #fff;
    border-bottom: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 优化Selector组件样式 */
.segmentedContainer .adm-selector {
    border-radius: 6px;
    overflow: hidden;
}

.segmentedContainer .adm-selector-item {
    padding: 4px 8px; /* 减小按钮内边距 */
    font-size: 14px; /* 减小字体大小 */
}

.sortButton {
    padding: 4px 10px; /* 减小按钮内边距 */
    background-color: #f5f5f5;
    border: none;
    border-radius: 6px;
    font-size: 14px; /* 减小字体大小 */
    color: #333;
    white-space: nowrap;
    transition: all 0.2s ease;
}

/* 添加媒体查询，针对小屏幕进一步优化 */
@media screen and (max-width: 375px) {
    .segmentedContainer .adm-selector-item {
        padding: 3px 6px;
        font-size: 13px;
    }
    
    .sortButton {
        padding: 3px 8px;
        font-size: 13px;
    }
}

/* 保持其他样式不变 */
.sortButton:hover {
    background-color: #e8e8e8;
}

.sortButton.active {
    background-color: #1677ff;
    color: #fff;
    box-shadow: 0 2px 4px rgba(22, 119, 255, 0.3);
}

.segmentedContainer .adm-selector-item.adm-selector-item-selected {
    background-color: #1677ff;
    color: white;
}